package com.hnas.common.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnas.core.orm.BaseEntity;

/**
 * 手机验证码记录
 * @author Administrator
 *
 */
@Entity
@Table(name = "tbl_verify_code")
public class VerifyCode extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6250342710551405966L;
	@Id
	@Column(name = "id")
	private String id;//验证码记录id
	@Column(name = "phone_no")
	private String phoneNo;//手机号
	@Column(name = "verify_code")
	private String verifyCode;//验证码
	@Column(name = "verify_type")
	private Integer verifyType;//验证码类型
	@Column(name = "status")
	private Integer status;//验证码状态
	@Column(name = "expiry_end_ime")
	private String expiryEndTime;//验证码过期时间
	@Column(name = "effect_time")
	private Long effectTime;//验证码有效时间数
	@Column(name = "appid")
	private String appId;//应用标识
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPhoneNo() {
		return phoneNo;
	}
	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}
	public String getVerifyCode() {
		return verifyCode;
	}
	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}
	public Integer getVerifyType() {
		return verifyType;
	}
	public void setVerifyType(Integer verifyType) {
		this.verifyType = verifyType;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getExpiryEndTime() {
		return expiryEndTime;
	}
	public void setExpiryEndTime(String expiryEndTime) {
		this.expiryEndTime = expiryEndTime;
	}
	public Long getEffectTime() {
		return effectTime;
	}
	public void setEffectTime(Long effectTime) {
		this.effectTime = effectTime;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	
}
